﻿using UnityEngine;
using UnityEngine.Playables;

namespace Pvp.Timeline
{
    public class RoleAnimationAsset : BaseRolePlayableAsset<RoleAnimationClipBehaviour>
    {
        [SerializeField]
        private AnimationClip anim;

        protected override void OnBehaviourInit(RoleAnimationClipBehaviour behaviour)
        {
            behaviour.animationClip = anim;
        }
    }
}

